| Fully Qualified Name: | Laminas\Hydrator\Iterator\HydratingIteratorInterface |
| Extends: | Iterator |
| Name | Description | Defined By |
|---|---|---|
| setHydrator() | Sets the hydrator to use during iteration. | HydratingIteratorInterface |
| setPrototype() | This sets the prototype to hydrate. | HydratingIteratorInterface |
Sets the hydrator to use during iteration.
| Parameter Name | Type | Description |
|---|---|---|
| $hydrator |
Returns:
This sets the prototype to hydrate.
This prototype can be the name of the class or the object itself; iteration will clone the object.
| Parameter Name | Type | Description |
|---|---|---|
| $prototype | string|object |
Returns: